namespace RBTreesSample
{
    public class OwnObject
    {
        public int Key { get; set; }
        public string Data { get; set; }

        public OwnObject(int key, string data) 
        {
			Key = key;
			Data = data;
		}
		
		public override string ToString()
		{
			return Key.ToString();
		}
    }
}